package student;

/**
 * @Author MDD
 * @Description
 * @Version
 * @Date
 **/
public class Student {
    private String name;
    private int age;
    private String address;
    private String zipCode;
    private String mobile;

    public Student(/*final String name, final int age,*/ final String address, final String zipCode/*, final String mobile*/) {
        //this.name = name;
        //this.age = age;
        this.address = address;
        this.zipCode = zipCode;
        //this.mobile = mobile;
    }

    public void Student(){}

    public void display(){
        System.out.println("地址 "+this.getAddress()+"邮编 "+this.getZipCode());
    }
    public String getPostAddress(String address,String zipCode){
        return this.address=address+zipCode;

    }
    public String getAddress() {
        return this.address;
    }

    public void setAddress(final String address) {
        this.address = address;
    }

    public String getZipCode() {
        return this.zipCode;
    }

    public void setZipCode(final String zipCode) {
        this.zipCode = zipCode;
    }
    /*public String getName() {
        return this.name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public int getAge() {
        return this.age;
    }

    public void setAge(final int age) {
        this.age = age;
    }



    public String getMobile() {
        return this.mobile;
    }

    public void setMobile(final String mobile) {
        this.mobile = mobile;

    }*/


    public static void main(String[] args) {
        Student stu = new Student("hf","340323001");
        stu.display();
    }
}
